% if len(messages):
<div class="message-box">
	<div class="message-box-message">
		<span class="sender">${messages[0].message.sender.short_name()}:</span>
		<b>${messages[0].message.text}</b>
	</div>
	<div class="message-box-buttons">
		<span id="sender-id" class="user-id">${messages[0].message.sender_id}</span>
		<form action="${h.url_outside('chowa', controller='social/messaging', action='attention')}" method="post">
			% for message in messages:
			<input type="hidden" name="message${message.id}"/>
			% endfor
			% if len(messages) > 1:
			<input class="warning-button" type="button" value="@ ${_('All messages')} (${len(messages)})"/>
			% endif
			<input class="reply-button normal-button" type="submit" name="reply" value=":-) ${_('Reply')}"/>
			<input class="close-button" type="submit" name="close" value="x ${_('Close')}"/>
		</form>
	</div>
</div>
% endif